export default {
  column: [
    {
      label: '班级',
      prop: 'classesId',
      type: 'select',
      span: 24,
      row: true,

      rules: [
        {
          required: true,
          message: '请选择班级',
          trigger: 'blur',
        },
      ],
      props: {
        label: 'name',
        value: 'id',
      },
      dicUrl: '/xrsk-qyClasses/qyComment/classes',
    },
    {
      label: '教室',
      prop: 'classesRoomId',
      span: 24,
      type: 'select',
      rules: [
        {
          required: true,
          message: '请选择教室',
          trigger: 'blur',
        },
      ],
      props: {
        label: 'name',
        value: 'id',
      },
      dicUrl: '/xrsk-qyClasses/qyComment/classes_rooms',
    },
    {
      label: '老师',
      span: 24,
      prop: 'teacherIds',
      rules: [
        {
          required: true,
          message: '请选择老师',
          trigger: 'blur',
        },
      ],
      multiple: true,
      limit: 3,
      type: 'select',
      props: {
        label: 'realName',
        value: 'id',
      },
      dicUrl: '/xrsk-qyClasses/qyComment/teaches',
    },
    {
      label: '开始日期',
      prop: 'startTime',
      type: 'datetime',
      format: 'YYYY-MM-DD',
      valueFormat: 'YYYY-MM-DD',
      disabled: true,
      rules: [
        {
          required: true,
          message: '请选择开始日期',
          trigger: 'blur',
        },
      ],
      span: 24,
      row: true,
    },
    {
      label: '重复频率',
      prop: 'repetitive',
      type: 'radio',
      align: 'left',
      row: true,
      span: 24,
      value: 0,
      disabled: false,
      dicData: [
        {
          label: '不重复',
          value: 0,
        },
        {
          label: '每天',
          value: 1,
        },
        {
          label: '每周',
          value: 2,
        },
      ],
    },
    {
      label: '每周几',
      prop: 'rate',
      type: 'radio',
      align: 'left',
      row: true,
      span: 24,
      value: 1,
      disabled: false,
      dicData: [
        {
          label: '一',
          value: 1,
        },
        {
          label: '二',
          value: 2,
        },
        {
          label: '三',
          value: 3,
        },
        {
          label: '四',
          value: 4,
        },
        {
          label: '五',
          value: 5,
        },
        {
          label: '六',
          value: 6,
        },
        {
          label: '七',
          value: 7,
        },
      ],
    },

    {
      label: '上课时间',
      prop: 'subStartTime',
      type: 'time',
      format: 'HH:mm',
      disabled: true,
      rules: [
        {
          required: true,
          message: '请选择上课时间',
          trigger: 'blur',
        },
      ],
      span: 14,
      valueFormat: 'HH:mm',
    },
    {
      label: '',
      labelWidth: 10,
      prop: 'subEndTime',
      type: 'time',
      format: 'HH:mm',
      disabled: true,
      rules: [
        {
          required: true,
          message: '请选择上课时间',
          trigger: 'blur',
        },
      ],
      span: 10,
      valueFormat: 'HH:mm',
    },
    {
      label: '结束日期',
      prop: 'endTime',
      type: 'datetime',
      disabled: true,
      rules: [
        {
          required: true,
          message: '请选择上课时间',
          trigger: 'blur',
        },
      ],
      format: 'YYYY-MM-DD',
      valueFormat: 'YYYY-MM-DD',
      span: 24,
      row: true,
    },

    {
      label: '最大容量',
      prop: 'studentCount',
      type: 'input',
      value: 10,
      span: 24,
      row: true,
    },
    {
      label: '每节课时数',
      prop: 'classHour',
      type: 'number',
      value: 1,
      span: 24,
      row: true,
    },
  ],
}
